package com.unicom.examine.mapper;

import com.unicom.examine.model.SalesDetail;
import com.unicom.examine.model.SalesDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SalesDetailMapper {
    int countByExample(SalesDetailExample example);

    int deleteByExample(SalesDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SalesDetail record);

    int insertSelective(SalesDetail record);

    List<SalesDetail> selectByExample(SalesDetailExample example);

    SalesDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SalesDetail record, @Param("example") SalesDetailExample example);

    int updateByExample(@Param("record") SalesDetail record, @Param("example") SalesDetailExample example);

    int updateByPrimaryKeySelective(SalesDetail record);

    int updateByPrimaryKey(SalesDetail record);
}